//
//  BasicInformationViewController.m
//  NoneCar
//
//  Created by DongSen on 2018/7/16.
//  Copyright © 2018年 董森森. All rights reserved.
//

#import "PopCancellationReasonView.h"
#import <WebKit/WebKit.h>
#import "BasicInformationViewController.h"

@interface BasicInformationViewController ()
@property (weak, nonatomic) IBOutlet UIButton *goSurveyButton;

@property (weak, nonatomic) IBOutlet UIButton *cancelButton;

//@property (strong, nonatomic) PopCancellationReasonView * reasonView;

@end

@implementation BasicInformationViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    self.title = @"基本信息";
    [self.navigationController.navigationBar  setBackgroundImage:[UIImage imageWithColor:[UIColor whiteColor]]
                                                  forBarPosition:UIBarPositionTopAttached
                                                      barMetrics:UIBarMetricsDefault];
    self.titleLabel.textColor = [UIColor blackColor];
    self.goSurveyButton.layer.masksToBounds = YES;
    self.goSurveyButton.layer.cornerRadius = 4;
    self.cancelButton.layer.masksToBounds = YES;
    self.cancelButton.layer.cornerRadius = 4;
    self.cancelButton.layer.borderWidth = 1;
    self.cancelButton.layer.borderColor = STRCOLOR(@"#CCCCCC").CGColor;
    self.view.backgroundColor =BackGroundColor;


    // Do any additional setup after loading the view from its nib.
}
-(void)viewWillAppear:(BOOL)animated{
    [super viewWillAppear:animated];
    [[UIApplication sharedApplication] setStatusBarStyle:UIStatusBarStyleDefault];

}
- (IBAction)cancellationButtonClick:(UIButton *)sender{
   PopCancellationReasonView * view = [PopCancellationReasonView loadView];
   view.frame = [UIScreen mainScreen].bounds;
   [view showViews:nil];
}

- (IBAction)goSurveyButton:(UIButton *)sender{
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
